CommonSettings

abstract class CommonSettings

General settings of library. Parameter values, authToken, baseHost, wsHost, storageHost must be taken from the widget settings.

Inheritors

Constructors

Link copied to clipboard
constructor()

Create the settings of library

Properties

Link copied to clipboard

The number of attempts of auto reconnect.

Link copied to clipboard
abstract val authToken: String

Widget token.

Link copied to clipboard

Auto reconnect to server.

Link copied to clipboard
abstract val baseHost: String

Url for chat2desk service.

Link copied to clipboard

Flag indicating that cache data should be kept in memory, default is false.

Link copied to clipboard
var logger: Antilog?

Add logger for tracking custom logs. Using Napier Antilog.

Link copied to clipboard
Link copied to clipboard

Timeout in milliseconds between reconnect attempts

Link copied to clipboard
abstract val storageHost: String

Url for file storage.

Link copied to clipboard

Show network logs, default is false.

Link copied to clipboard
abstract val wsHost: String

Url for socket connection.